/**
 * 游戲操作
 * 
 * @author LuoDong
 * @email luo4521@online.net.tw
 * 2010-2-24 18:38
 */
package com.addcn.texas.control {
	import com.addcn.fog.control.ICommand;
	import com.addcn.fog.control.SimpleCommand;
	
	import com.addcn.texas.model.*;
	import com.addcn.texas.view.*;		
	
	public class GameHandleCommand extends SimpleCommand implements ICommand {
		
		public override function execute(r_data:Object = null):void {				
			if (!modelLocator.hasModel(RoomModel)) {
				modelLocator.addModel(RoomModel);
			}
			var _model = modelLocator.getModel(RoomModel);
			_model.getRoomList(r_data.type, r_data.request);
		}

	}
}
